import json

dict1 = {'name': 'John', 'age': 30, 'city': 'New York',"sex":'男'}
print(json.dumps(dict1))
bool1=True
